import { WeatherData } from "../types/weather"
import RequestHttp from "../utils/request"

export const getWeatherListAPI = (city:string) => {
  return RequestHttp.get<WeatherData>('api/weather', { city })
}